#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
	int n = 7;
	for (int i = 1; i <= 6; i++) {
		for (int j = 1; j < n - i + 1; j++)
			printf(" ");
		for (int a = 1; a <= 2 * i - 1; a++)
			printf("*");
		printf("\n");
	}
	for (int i = n; i > 0; i--) {
		for (int j = 0; j < 2 * i - 1; j++)
			printf("*");
		printf("\n");
		for (int a = 0; a < n - i + 1; a++)
			printf(" ");
	}
	return 0;
}